<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>职位管理</title>
    <link rel="stylesheet" type="text/css" href="/resource/css/font-awesome.css"/>
    <link rel="stylesheet" type="text/css" href="/resource/css/easyui.css">
    <link rel="stylesheet" type="text/css" href="/resource/css/icon.css">
    <link rel="stylesheet" type="text/css" href="/resource/css/custom.css">
    <link rel="stylesheet" type="text/css" href="/resource/js/datepicker/datepicker.css"/>
    <script type="text/javascript" src="/resource/js/core/jquery.js"></script>
    <script type="text/javascript" src="/resource/js/core/jquery.easyui.153.js"></script>
    <script type="text/javascript" src="/resource/js/core/jquery.ui.core.js"></script>
    <script type="text/javascript" src="/resource/js/core/jquery.ui.effect.js"></script>
    <script type="text/javascript" src="/resource/js/core/common.js"></script>
    <script type="text/javascript" src="/resource/js/core/toolkit.js"></script>
    <script type="text/javascript" src="/resource/js/core/validate.js"></script>
    <script type="text/javascript" src="/resource/js/datepicker/datepicker.js"></script>
    <script type="text/javascript" src="/resource/js/work/job.js"></script>
</head>
<body>
<div id="job_search" class="div_search">
    <div class="line">
        <label class="large">名称</label>
        <input id="job_search_name" class="easyui-textbox" data-options="prompt:'关键字匹配',width:180"/>
    </div>
    <div class="line">
        <label class="large">一级部门</label>
        <input id="job_search_dep1" class="easyui-combobox" data-options="limitToList:true,panelMaxHeight:300,width:180"/>
    </div>
    <div class="line">
        <label class="large">二级部门</label>
        <input id="job_search_dep2" class="easyui-combobox" data-options="limitToList:true,width:180"/>
    </div>
    <div class="line">
        <a class="easyui-linkbutton" data-options="iconCls:'icon-search'" onclick="jsJob.getPage(1);">搜 索</a>
    </div>
</div>

<table id="job_table"
       data-options="border:false, rownumbers:true, striped:true, fit:true, fitColumns:true, nowrap:false, loadMsg:'正在加载...',
		singleSelect:true, pagination:true, pagePosition:'top', sortName:'addTime', sortOrder:'desc'">
    <thead>
    <tr>
        <th data-options="field:'itemId', hidden:true">itemId</th>
        <th data-options="field:'p1', align:'center'">名称</th>
        <th data-options="field:'p2', align:'center'">一级部门</th>
        <th data-options="field:'p3', align:'center'">二级部门</th>
        <th data-options="field:'p4', align:'center'">创建人</th>
        <th data-options="field:'p5', align:'center'">JD备注</th>
        <th data-options="field:'date_create', align:'center', sortable:true">创建时间</th>
        <th data-options="field:'date_update', align:'center', sortable:true">更新时间</th>
    </tr>
    </thead>
</table>


<div id="job_div_add_edit" class="easyui-window" title="添加职位" style="height:300px; width: 350px;padding:5px;"
     data-options="modal:true,collapsible:false,minimizable:false,maximizable:false,resizable:false,constrain:true,closed:true">
    <div class="easyui-layout" data-options="fit:true,border:false">
        <div class="div_window_content" data-options="region:'center',border:false">
            <div class="line">
                <label>名称</label>
                <input id="job_ipt_p1" class="easyui-textbox" data-options="required:true,validType:'length[1,30]',invalidMessage:'1~30个字符',width:180"/>
            </div>
            <div class="line">
                <label>一级部门</label>
                <input id="job_ipt_p2" class="easyui-combobox" data-options="required:true,limitToList:true,panelMaxHeight:300,width:180"/>
            </div>
            <div class="line">
                <label>二级部门</label>
                <input id="job_ipt_p3" class="easyui-combobox" data-options="required:true,limitToList:true,width:180"/>
            </div>
            <div class="line">
                <label>网站链接</label>
                <input id="job_ipt_p4" class="easyui-textbox" data-options="multiline:true,width:250,height:60"/>
            </div>
        </div>
        <div class="div_window_foot" data-options="region:'south',border:false">
            <a class="easyui-linkbutton" data-options="iconCls:'icon-ok'" onclick="jsJob.saveOrEdit($(this));" style="width:80px">确 定</a>
        </div>
    </div>
</div>
<script type="text/javascript">
    var jsJob = new JS_JOB();
    jsJob.init();
</script>

</body>
</html>



